#include <Arduino.h>

#define LEDA 10
#define LEDB 11
#define PWMC 8
// 闪烁
void blink(int pin, int delayTime)
{
  digitalWrite(pin, HIGH);
  delay(delayTime);
  digitalWrite(pin, LOW);
//  delay(delayTime);
  
}

void setup()
{

  pinMode(LEDA, OUTPUT);
  pinMode(LEDB, OUTPUT);
  pinMode(PWMC, OUTPUT);
  analogWrite(PWMC, 55);
}

void loop()
{
  blink(LEDA, 1000);
  blink(LEDB, 500);
} 
